<extend name="./Application/Home/View/Layout/application.html"/>

<block name="content">
    <div class="clearsH"></div>
    <div class="all">
        <ul class="menu">
            <li><a href="javascript:void(0);">分类商品</a></li>
            <li><a href="javascript:void(0);" id="list"><i class="fa fa-th"></i></a></li>
        </ul>
    </div>

    <div class="products">
        <volist name="products_list" id="all">
            <dl>
                <dt>
                    <a href="{{:U('show',['id'=>$all['id']])}}">
                        <img class="img-responsive" src="{{$all.thumb}}" alt="{{$all.name}}" style="width: 152px;height: 92px;"/>
                    </a>
                </dt>
                <dd><a href="{{:U('show',['id'=>$all['id']])}}">{{$all.name}}</a><span>已售 {{$all.sale_done}}</span>
                </dd>
                <dd class="label">库存 {{$all.stock}}</dd>
                <dd>¥ {{$all.price}}元</dd>
            </dl>
        </volist>
        <div class="clears"></div>
    </div>
</block>
<block name="js">
    <script type="text/javascript" src="__PUBLIC__/assets/home/js/all.js"></script>
</block>
